
The do files to use in order to obtain Input-Output (IO) flows that proxy for IO linkages are:

"IO_Data_With_SIC_Coding_RESTAT.do" (Stata do file)
"Apportion_Factors_IOTables_RESTAT.do" (Stata do file)

The first do file uses IO tables that can be downloaded from the website of the Office for National Statistics. These data are used to construct IO shares and flows across industries. 
More details can be found in the Web Appendix to the manuscript. 

Note that in order to map IO sectors (that are more aggregated) to SIC 1992 industrial sectors, a mapping had to be created by the authors.
This was done manually by inspecting the SIC sector/IO industry classifications. However, IO are constantly updated and sectors sometimes reclassified by the ONS.
Users interested in replicating the analysis need to start by constructing a mapping that suits their version of the IO Tables.

Note also that IO industries are in some instances more aggregated than SIC sectors. So we also use an apportioning procedure based on BSD data (Business Structure Database accessible to authorised users via the UK Data Service Secure Lab).
This was done in order to distribute more aggregated IO industries to SIC sectors on the basis of relative employment shares.
The relevant do file is "Apportion_Factors_IOTables_RESTAT.do"

The files should be run in the following way:

(1) First run the apportion data code
(2) Then run the IO data construction code

Note that the initial calculations using IO tables were done for the period 1995 to 1999. However, this can be modified to include the period 1995 to 2004 (used for some robustness checks).

The extended files are saved with different extensions (e.g. extension _04 cover the period 1995 to 2004)

The files created as final output are called:
- apport_factors.dta
- io_info_tomerge_ext.dta


